Skip to content

[ refactor ] make m ≤ n argument to Data.Vec.Base.{truncate|padRight} irrelevant#2787

Merged
MatthewDaggitt merged 18 commits intoagda:masterfrom
jamesmckinna:Vec-padRight-properties
Jan 24, 2026
Merged

[ refactor ] make m ≤ n argument to Data.Vec.Base.{truncate|padRight} irrelevant#2787
MatthewDaggitt merged 18 commits intoagda:masterfrom
jamesmckinna:Vec-padRight-properties

Conversation

@jamesmckinna
Copy link
Collaborator

@jamesmckinna jamesmckinna commented Jul 27, 2025

Tackles #2770
Blocked on #2769 and #2795 , but could be merged into that PR instead.
Refactored Properties to take advantage of the revised definition(s), and the new properties.

@jamesmckinna jamesmckinna added this to the v2.4 milestone Jul 27, 2025
@jamesmckinna jamesmckinna added status: blocked-by-issue Progress on this issue or PR is blocked by another issue. refactoring labels Jul 27, 2025
@jamesmckinna jamesmckinna linked an issue Jul 27, 2025 that may be closed by this pull request
@jamesmckinna jamesmckinna changed the title [ refactor ] make Data.Vec.Base.{truncate|padRight} take irrelevant m ≤ n argument [ refactor ] make m ≤ n argument to make Data.Vec.Base.{truncate|padRight} irrelevant Jul 29, 2025
@jamesmckinna jamesmckinna changed the title [ refactor ] make m ≤ n argument to make Data.Vec.Base.{truncate|padRight} irrelevant [ refactor ] make m ≤ n argument to Data.Vec.Base.{truncate|padRight} irrelevant Jul 29, 2025
@jamesmckinna
Copy link
Collaborator Author

I've taken the liberty of adding, and then suitably modifying the proofs of, the properties introduced by #2769 and #2795, so as and when those are merged in, I'll fix the merge conflict and rebase.

@jamesmckinna
Copy link
Collaborator Author

Revisiting this, I'm happy to badge this as breaking/v3.0, given that the intensional behaviour of the functions is being changed.

@jamesmckinna jamesmckinna removed the status: blocked-by-issue Progress on this issue or PR is blocked by another issue. label Jan 12, 2026
@jamesmckinna jamesmckinna modified the milestones: v3.0, v2.4 Jan 12, 2026
@jamesmckinna
Copy link
Collaborator Author

@MatthewDaggitt would you be happy with merging this?

@MatthewDaggitt MatthewDaggitt added this pull request to the merge queue Jan 24, 2026
Merged via the queue into agda:master with commit 79060e0 Jan 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ refactor ] change type of Data.Vec.Base.{truncate|padRight}

3 participants